//package com.baitiaojun.system.controller;
//
//import com.baitiaojun.common.utils.object.PageUtils;
//import com.baitiaojun.framework.redis.core.support.RedisSupport;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.annotation.Resource;
//
//@Api("测试接口")
//@RestController
//public class UserController {
//
//    @Resource
//    private RedisSupport redisSupport;
//
//    @ApiOperation("测试方法")
//    @PostMapping("/users")
//    public Object createUser() {
////        PageParam pageParam = PageUtils.getPageParam();
//
////        redisSupport.addValue(Constants.CAPTCHA_CODE_KEY, "key", "value");
////        return redisSupport.getValue(Constants.CAPTCHA_CODE_KEY, "key");
//
//        // 保存用户逻辑
//        return "ok";
//    }
//}